﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>只带下划线的输入框</title>
</head>
<body>

只有下划线的输入框<input type="text" name="txt1" size="25" style=" border:1px; border-bottom-style: solid;border-top-style: none;border-left-style:none;border-right-style:none;">
<br />
默认的输入框      <input id="Text1" size="25" type="text" />

</body>
</html>